package functions;



public class SinglePayment implements java.io.Serializable {
	private int year;
	private int month;
	private int day;
	private double amount;
	
	public SinglePayment(int month, int day, int year, double amount){
		this.year = year;
		this.month = month;
		this.day = day;
		this.amount = amount;
	}

	public String toFormattedString(){
		return "\t\t" + month + "/" + day + "/" + year + "\t\t$" + amount;
	}
	public int getYear() {
		return year;
	}

	public void setYear(int year) {
		this.year = year;
	}

	public int getMonth() {
		return month;
	}

	public void setMonth(int month) {
		this.month = month;
	}

	public int getDay() {
		return day;
	}

	public void setDay(int day) {
		this.day = day;
	}

	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}
	
	

}
